# project('wm', 'c',
#   version : '0.1',
#   default_options : ['warning_level=3'])

CARGS=['-Wall', '-Wno-unused-parameter']
DEPS=[
  dependency('xcb', version:'>=1.0.0'),
  dependency('xproto', version:'>=7.0.0')
  ]
LINK=['-lxcb-errors','-lxcb-keysyms', '-lxcb-icccm']
INC = include_directories(join_paths('..', 'inc'))
executable('wm',
           ['wm.c', 'misc.c', 'log.c', 'list.c', 'map.c'],
           c_args: CARGS,
           link_args: LINK,
           dependencies: DEPS,
           include_directories:INC,
           install : true)
